<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* PRINT AREA SOLUTION - http://stackoverflow.com/questions/468881/print-div-id-printarea-div-only */
/*body {
    margin: 0;
    padding: 0;
    font-size: 13pt;
}
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}*/



#section_to_print {
    width:100%;

    position:absolute;
    top:0cm;
    left:0cm;
     
    display:none;   
}

@page {
    /* DZ: 4sep14: changing to letter sizes, removing this to see if it affect*/
    /*size: A4; not sure this is affecting anything now, after page has specific width*/
    margin: 0;
}


#section_to_print .page {
    margin: 0cm;
    padding: 0cm;
    /* DZ: 21aug14: adding accurate a4 sizes here */
    /* DZ: 4sep14: changing to letter sizes*/
    /*YZ 27-5-19: removing width solves issue in all browsers except safari, setting back width of A4, Safari still prints in wrong size*/
    width: 21cm;
    /*width: 21.6cm;*/
    min-height: 24cm; /*not really important - added only to show on testing*/
    /*DZ 21aug14: this forces width to actually apply when rendering page to print on chrome (and maybe other browsers too) */
    border-top: 1px solid white;
    page-break-inside: avoid;
    background: red; /*reverted on print style */
    /* DZ: 10sep14: moved to .page from #section_to_print.duplex_mode .page*/
    position: relative;
    /*DZ 26jan17: overriding .page stuff in style.css */
    max-width: none;
    overflow: inherit;
}
    #section_to_print .page img {
        /*DZ 26jan17: overriding .page stuff in style.css */
        max-width: none;
    }


    #section_to_print .page:nth-child(2) {
        /*DZ 25aug14: added page break only for 2nd page, this allowed removing position:aboslute from main container*/
        page-break-before: always;        
        background:blue;
    }
    



/* ======== FULL PAGE LAYOUT ======== */
#print_contents .rendered_canvas
{
    position:absolute;
}


/* ======== INVITATIONS PRINT LAYOUTS ======== */
#print_contents .invitations_layout .rendered_canvas {
    position: absolute;
    /* every invitation has border*/
    /*outline: 1pt solid #aaaaaa;*/
    /*DZ 14mar17: narrower border*/
    outline: 0.2pt solid #aaaaaa;


}

/*DZ 10sep14: added. hope doesnt mess up earlier stuff*/
@media print and (color) {
   * {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
   }
}

@media print {
    /*DZ 12apr17: this disables the 5feb17 fix for body's (non-responsive) width */


    body {
        min-width: inherit;
        /*zoom: 100%;*/
    }

    body * {
        visibility: hidden;
        display:none;
    }
    #section_to_print, #section_to_print * {
        visibility: visible;
        display:block;
    }
    .page {
        background:white !important;
    }


}</pre></body></html>